package com.huawei.demoapp.controller;

import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/")
public class HelloWorldController {

    @ApiOperation(value = "/")
    @RequestMapping(value = "/", method = RequestMethod.GET)
    public String say() {
        return "hello world!";
    }
}
